html,
body,
#app {
  width: 100%;
  height: 100%;
}


* {
  margin: 0;
  padding: 0;
}

ul, li {
  list-style: none;
}

a {
  text-decoration: none;
}

.clearfix::before,
.clearfix::after {
  display: table;
  content: "";
}

.clearfix::after {
  clear: both;
}

// Scrollbar
@media (min-width: 1000px) {
  ::-webkit-scrollbar {
    width: .6em;
    height: .7em;
    border-radius: 1em;
  }

  ::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 4px rgba(0, 0, 0, .2);
    border-radius: 1em;
  }

  ::-webkit-scrollbar-thumb {
    border-radius: 1em;
    background-color: #8a8a8a;

    &:hover {
      background-color: #949494;
    }
  }
}

// element-table 序号不对齐
body .el-table th.gutter {
  display: table-cell !important
}

// el-pagination 居中
.el-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

// table里面的小按钮
.el-table {
  .el-button--mini,
  .el-button--mini.is-round {
    padding: 4px;
  }
}

// 输入上传图片
.form-content {
  padding: 50px 30px;

  .avatar-uploader {
    border: 1px dashed #d9d9d9;
    width: 178px;
    height: 178px;
    display: flex;

    .avatar {
      //width: 200px;
      //height: 200px;
    }

    .icon {
      font-size: 28px;
      color: #8c939d;
      width: 178px;
      height: 178px;
      line-height: 178px;
    }
  }

  .el-upload-dragger {
    width: auto;
    border: none;
    height: auto;
  }
}
